﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotDog.HotDogIngredients;

namespace YummyHotDog
{
    abstract public class HotDogOrderHandler
    {
        protected HotDogOrderHandler _nextHotDogOrderStage;

        protected Ingredients _hotDogIngredient;

        public void SetSuccessor(HotDogOrderHandler nextHotDogOrderStage)
        {
            _nextHotDogOrderStage = nextHotDogOrderStage;
        }

        public abstract void ProcessRequest(IHotDogOrder hotDogOrder, Ingredients ingredients);
    }
}
